<?php 
    define('MYSQL_HOST','localhost');
    define('MYSQL_LOGIN','root');
    define('MYSQL_PASS','masterkey');
    define('MYSQL_BASE','iis_logs');
    header('Content-Type: text/html; charset=utf-8');

class Database
{

    public function dbConnect()
    {
        $connect = mysql_connect(MYSQL_HOST, MYSQL_LOGIN, MYSQL_PASS) or die("Connection Failed");
        $db = mysql_select_db(MYSQL_BASE, $connect) or die("Database is not selected");
			$query_set="set names utf8";
        $result = mysql_query($query_set) or die("Falied");
	}
	

	
	
}	
?>
